const fs = require('fs');
const path = require('path');
let readPath = path.join(__dirname, 'readstream.flv');
let writePath = path.join(__dirname,'writestream.flv');
let readStream = fs.createReadStream(readPath);
let writeStream = fs.createWriteStream(readPath);
readStream.pipe(writeStream);
